package auto.app.service;

import auto.app.controller.from.TestingEnvironmentAddFrom;
import auto.app.controller.from.TestingEnvironmentDeleteFrom;
import auto.app.controller.from.TestingEnvironmentPage;
import auto.app.controller.from.TestingEnvironmentUpdateFrom;
import auto.app.controller.info.TestingEnvironmentInfo;
import auto.app.controller.info.TestingEnvironmentPageInfo;
import auto.app.exetion.MainExection;
import auto.app.model.TestingEnvironment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杨森
 * @since 2022-07-09
 */
public interface TestingEnvironmentService extends IService<TestingEnvironment> {
    //新增测试环境
    public Boolean addTestingEnvironment(TestingEnvironmentAddFrom testingEnvironmentAddFrom) throws MainExection;

    //测试环境列表
    public TestingEnvironmentPageInfo listTestingEnvironment(TestingEnvironmentPage testingEnvironmentPage);

    //对测试环境进行修改
    public Boolean updateTestingEnvironment(TestingEnvironmentUpdateFrom testingEnvironmentUpdateFrom) throws MainExection;

    //对测试环境进行删除
    public Boolean deleteids(TestingEnvironmentDeleteFrom testingEnvironmentDeleteFrom);

}
